<template>
  <van-tabbar v-model="active" :route="true">
    <van-tabbar-item icon="home-o" :to="{ path: '/' }">首页</van-tabbar-item>
    <van-tabbar-item icon="cluster-o" :to="{ path: '/item/cateList' }"
      >分类</van-tabbar-item
    >
    <van-tabbar-item icon="photo-o" :to="{ path: '/item/worth' }"
      >值得买</van-tabbar-item
    >
    <van-tabbar-item icon="shopping-cart-o" :to="{ path: '/item/cart' }"
      >购物车</van-tabbar-item
    >
    <van-tabbar-item icon="manager-o" :to="{ path: '/item/center' }"
      >个人</van-tabbar-item
    >
  </van-tabbar>
</template>

<script lang="ts">
import { defineComponent } from "vue";

export default defineComponent({
  name: "Following",
});
</script>

<script lang="ts" setup>
import { ref } from "vue";

const active = ref(0);
</script>
